

#ifndef DS_PT_EXT
#define DS_PT_EXT

#include "prefix_tree.h"

#include "mex.h"

#define Matrix2d(i,j,M) ((i-1)+(j-1)*M)
#define Matrix3d(n2,n,e) ((n2-1)+((n-1)*n_state))+(n_state*n_state*(e-1))

namespace pt_ext
{

char*lang(psa *trie);
void matlab_gsmp_structure(psa *trie, double time, mxArray *plhs[], int *nlhs);

}

#endif
